package com.btex.app.entity;

import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/5/21
 * @time 下午12:32
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class WeTuoListInfo {

    /**
     * code : 1
     * data : {"buy":[{"price":"0.00001415","amount":"3336.1545","total":"0.0472","sum":"0.04"},{"price":"0.00001396","amount":"1202.3976","total":"0.0167","sum":"0.06"},{"price":"0.00001369","amount":"1047.2832","total":"0.0143","sum":"0.07"},{"price":"0.00001361","amount":"2768.3663","total":"0.0376","sum":"0.11"},{"price":"0.00001342","amount":"1179.7974","total":"0.0158","sum":"0.13"}],"sell":[{"price":"0.00001430","amount":"1545.8163","total":"0.0221","sum":"0.02"},{"price":"0.00001442","amount":"1974.3512","total":"0.0284","sum":"0.05"},{"price":"0.00001485","amount":"2807.1122","total":"0.0416","sum":"0.09"},{"price":"0.00001519","amount":"692.3548","total":"0.0105","sum":"0.10"},{"price":"0.00001520","amount":"2082.1177","total":"0.0316","sum":"0.13"}],"hash":"defa0806388c68c6c227ea75a5ed04c8"}
     * info :
     */

    private int code;
    private DataBean data;
    private String info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class DataBean {
        /**
         * buy : [{"price":"0.00001415","amount":"3336.1545","total":"0.0472","sum":"0.04"},{"price":"0.00001396","amount":"1202.3976","total":"0.0167","sum":"0.06"},{"price":"0.00001369","amount":"1047.2832","total":"0.0143","sum":"0.07"},{"price":"0.00001361","amount":"2768.3663","total":"0.0376","sum":"0.11"},{"price":"0.00001342","amount":"1179.7974","total":"0.0158","sum":"0.13"}]
         * sell : [{"price":"0.00001430","amount":"1545.8163","total":"0.0221","sum":"0.02"},{"price":"0.00001442","amount":"1974.3512","total":"0.0284","sum":"0.05"},{"price":"0.00001485","amount":"2807.1122","total":"0.0416","sum":"0.09"},{"price":"0.00001519","amount":"692.3548","total":"0.0105","sum":"0.10"},{"price":"0.00001520","amount":"2082.1177","total":"0.0316","sum":"0.13"}]
         * hash : defa0806388c68c6c227ea75a5ed04c8
         */

        private String hash;
        private List<BuyBean> buy;
        private List<SellBean> sell;

        public String getHash() {
            return hash;
        }

        public void setHash(String hash) {
            this.hash = hash;
        }

        public List<BuyBean> getBuy() {
            return buy;
        }

        public void setBuy(List<BuyBean> buy) {
            this.buy = buy;
        }

        public List<SellBean> getSell() {
            return sell;
        }

        public void setSell(List<SellBean> sell) {
            this.sell = sell;
        }

        public static class BuyBean {
            /**
             * price : 0.00001415
             * amount : 3336.1545
             * total : 0.0472
             * sum : 0.04
             */

            private String price;
            private String amount;
            private String total;
            private String sum;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getSum() {
                return sum;
            }

            public void setSum(String sum) {
                this.sum = sum;
            }
        }

        public static class SellBean {
            /**
             * price : 0.00001430
             * amount : 1545.8163
             * total : 0.0221
             * sum : 0.02
             */

            private String price;
            private String amount;
            private String total;
            private String sum;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getSum() {
                return sum;
            }

            public void setSum(String sum) {
                this.sum = sum;
            }
        }
    }
}
